package com.example.practical_training_projects.service;

import com.example.practical_training_projects.entity.pc;
import com.example.practical_training_projects.entity.user;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface pcService {
    List<pc> getAllpc();
    PageInfo<pc> findpcpage(Integer pageNum, Integer pageSize);//分页，pageNum：当前是第几页,pageSize：每页多少条数据
    Integer insertPc(pc pc);
    Integer deletePc(Integer pc_uid);
    Integer updatePc(pc pc);
    List<pc> getpcBYName(String pc_name);
    pc findPcid(Integer pc_uid);

    pc authenticatePc(String pcName, String pcPassword);
}
